<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link href="<?php echo $this->root_dir; ?>/static/common/css/common.css" type="text/css" rel="stylesheet">
<link href="<?php echo $this->root_dir; ?>/static/common/css/style.css" type="text/css" rel="stylesheet">
<meta http-equiv="x-ua-compatible" content="ie=7" />
<script type="text/javascript">var projectName = '<?php echo $this->root_dir; ?>';</script>
<script type="text/javascript">var returnUrl = '<?php echo Yii::$app->request->scriptUrl; ?>';</script>
<script type="text/javascript" src="<?php echo $this->root_dir; ?>/static/common/js/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo $this->root_dir; ?>/static/common/js/jquery.validate.js"></script>
<script type="text/javascript" src="<?php echo $this->root_dir; ?>/static/common/js/jquery.metadata.min.js"></script>
<script type="text/javascript" src="<?php echo $this->root_dir; ?>/static/common/js/jquery.validate.zh.js"></script>
<script type="text/javascript" src="<?php echo $this->root_dir; ?>/static/common/js/jquery.select.js"></script>
<script type="text/javascript" src="<?php echo $this->root_dir; ?>/static/common/js/common.js"></script>

<script type="text/javascript" src="<?php echo $this->root_dir; ?>/static/artDialog/jquery.artDialog.js?skin=twitter"></script>
<script type="text/javascript" src="<?php echo $this->root_dir; ?>/static/artDialog/plugins/iframeTools.js"></script>
<?php if(in_array('ueditor', $widgets)){
?>
<script type="text/javascript" charset="utf-8" src="<?php echo $this->root_dir; ?>/static/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="<?php echo $this->root_dir; ?>/static/ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="<?php echo $this->root_dir; ?>/static/ueditor/lang/zh-cn/zh-cn.js"></script>
<?php
}


if(in_array('webuploader', $widgets)){
?>
<link href="<?php echo $this->root_dir; ?>/static/webuploader/webuploader.custom.css" type="text/css" rel="stylesheet">
<script type="text/javascript" charset="utf-8" src="<?php echo $this->root_dir; ?>/static/ueditor/third-party/webuploader/webuploader.min.js"></script>
<script type="text/javascript" charset="utf-8" src="<?php echo $this->root_dir; ?>/static/webuploader/webuploader.common.js"></script>
<?php
}
if(in_array('datetimepicker', $widgets)){
?>
<link href="<?php echo $this->root_dir; ?>/static/common/css/jquery.datetimepicker.css" type="text/css" rel="stylesheet">
<script type="text/javascript" charset="utf-8" src="<?php echo $this->root_dir; ?>/static/common/js/jquery.datetimepicker.js"></script>
<?php
}
if(in_array('slide', $widgets)){
?>
<script type="text/javascript" src="<?php echo $this->root_dir;?>/static/common/js/jquery.SuperSlide.2.1.js"></script>
<?php
}
if(in_array('template', $widgets)){
?>
<script type="text/javascript" src="<?php echo $this->root_dir;?>/static/common/js/template.js"></script>
<script type="text/javascript" src="<?php echo $this->root_dir;?>/static/common/js/template-helper.js"></script>
<?php
}

?>
